@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.7t9tbfaemk.bundle.scp.css';

/* /Pages/Other Pages/Login.razor.rz.scp.css */

/* Login page – layout only.
   Every colour, font and radius comes from wwwroot/css/theme.css (--sg-* variables). */

.login-shell[b-nmgrjy4lcp] {
    position: fixed;          /* covers any margin/padding coming from parent layouts */
    inset: 0;
    z-index: 1000;
    overflow: auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: var(--sg-bg);
    color: var(--sg-text);
    font-family: var(--sg-font);
}

/* ---------- Left: brand panel ---------- */
.login-brand[b-nmgrjy4lcp] {
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 64px;
    background: var(--sg-panel);
}

.login-brand-copy h1[b-nmgrjy4lcp] {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--sg-text);
}

.login-brand-copy p[b-nmgrjy4lcp] {
    margin: 0;
    max-width: 30ch;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--sg-muted);
}

.login-brand-logo[b-nmgrjy4lcp] {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: 32px;
}

.login-brand-logo img[b-nmgrjy4lcp] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* ---------- Right: form ---------- */
.login-main[b-nmgrjy4lcp] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--sg-bg);
}

.login-box[b-nmgrjy4lcp] {
    width: 100%;
    max-width: 400px;
}

.login-logo-small[b-nmgrjy4lcp] {
    display: none;
    height: 72px;
    width: auto;
    margin-bottom: 28px;
}

.login-title[b-nmgrjy4lcp] {
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--sg-text);
}

.login-subtitle[b-nmgrjy4lcp] {
    margin: 0 0 28px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Password field with the show/hide button inside it */
.login-password[b-nmgrjy4lcp] { position: relative; }

.login-password[b-nmgrjy4lcp]  .sg-input { padding-right: 52px; }

.login-eye[b-nmgrjy4lcp] {
    position: absolute;
    top: 50%;
    right: 8px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    color: var(--sg-muted);
    background: transparent;
    border: 0;
    border-radius: var(--sg-radius-sm);
    cursor: pointer;
}

.login-eye:hover[b-nmgrjy4lcp] { color: var(--sg-text); }

.login-options[b-nmgrjy4lcp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 26px;
    font-size: .92rem;
}

.login-remember[b-nmgrjy4lcp] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--sg-muted);
    cursor: pointer;
}

.login-remember[b-nmgrjy4lcp]  input {
    width: 18px;
    height: 18px;
    accent-color: var(--sg-brand);
    cursor: pointer;
}

.login-foot[b-nmgrjy4lcp] {
    margin: 28px 0 0;
    font-size: .9rem;
    text-align: center;
}

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
    .login-shell[b-nmgrjy4lcp] { grid-template-columns: 1fr; }
    .login-brand[b-nmgrjy4lcp] { display: none; }
    .login-logo-small[b-nmgrjy4lcp] { display: block; }
}
/* /Pages/Reports Pages/Sale Party Details.razor.rz.scp.css */
.sameInvoiceTH[b-kjck55i3hw] {
   /* border-top-color: lightgray;
    border-top-width: 1px;*/
}

.newInvoiceTH[b-kjck55i3hw] {
   /* border-top-color: black;
    border-top-width: 1px;*/
}

.th2[b-kjck55i3hw]{
    
    background-color:lightgrey;
}

.tableDIV th:hover[b-kjck55i3hw],td:hover[b-kjck55i3hw]{
    font-weight:bolder;
    cursor:pointer;
    /*transform:scale(1.05);*/
}

.tableDIV th[b-kjck55i3hw],td[b-kjck55i3hw]{
    /*transition: all ease-in-out 0.s;*/
}
/* /Shared/MainLayout.razor.rz.scp.css */

/* App shell – colours come from wwwroot/css/theme.css (--sg-*). */

.app-shell[b-2uzyvi6oun] {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;                 /* the window never scrolls – .app-content does */
    background: var(--sg-bg);
    color: var(--sg-text);
}

.app-main[b-2uzyvi6oun] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}

/* Page area: scrolls on its own, and is a flex column so a page can use
   <div class="sg-fill"> to stretch (e.g. a table that fills the screen). */
.app-content[b-2uzyvi6oun] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 24px 28px;
}

/* Top bar only exists on small screens */
.app-topbar[b-2uzyvi6oun] { display: none; }

.app-burger[b-2uzyvi6oun] {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius-sm);
    cursor: pointer;
}

.app-burger span[b-2uzyvi6oun] {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--sg-text);
}

.app-topbar-logo[b-2uzyvi6oun] { height: 36px; width: auto; }

.app-backdrop[b-2uzyvi6oun] {
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(0, 0, 0, .6);
}

/* Desktop: sidebar can shrink to an icon rail */
@media (min-width: 993px) {
    .app-shell[b-2uzyvi6oun] { transition: grid-template-columns .25s ease; }
    .app-shell.nav-collapsed[b-2uzyvi6oun] { grid-template-columns: 76px minmax(0, 1fr); }
}

@media (max-width: 992px) {
    .app-shell[b-2uzyvi6oun] { grid-template-columns: minmax(0, 1fr); }

    .app-topbar[b-2uzyvi6oun] {
        flex-shrink: 0;
        z-index: 1030;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 10px 16px;
        background: var(--sg-panel);
        border-bottom: 1px solid var(--sg-line);
    }

    .app-content[b-2uzyvi6oun] { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .app-shell[b-2uzyvi6oun] { transition: none; }
}
/* /Shared/NavMenu.razor.rz.scp.css */

/* Side navigation – layout/behaviour only. Colours come from wwwroot/css/theme.css (--sg-*). */

.sidenav[b-pd3guqs0gh] {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
    background: var(--sg-panel);
    border-right: 1px solid var(--sg-line);
    font-family: var(--sg-font);
}

/* ---------- Header ---------- */
.sidenav-head[b-pd3guqs0gh] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    border-bottom: 1px solid var(--sg-line);
}

.sidenav-logo[b-pd3guqs0gh] { height: 44px; width: auto; flex-shrink: 0; }

.sidenav-user-name[b-pd3guqs0gh] {
    flex: 1;
    min-width: 0;
    font-weight: 600;
    color: var(--sg-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidenav-toggle[b-pd3guqs0gh] {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    color: var(--sg-muted);
    background: transparent;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius-sm);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}

.sidenav-toggle:hover[b-pd3guqs0gh] { color: var(--sg-text); border-color: var(--sg-brand); }

/* ---------- Scrollable body ---------- */
.sidenav-body[b-pd3guqs0gh] {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 12px 16px;
}

/* ---------- Footer ---------- */
.sidenav-foot[b-pd3guqs0gh] {
    padding: 12px;
    border-top: 1px solid var(--sg-line);
}

.sidenav-logout[b-pd3guqs0gh] {
    width: 100%;
    padding: 10px 14px;
    font-size: .92rem;
    border-radius: var(--sg-radius-sm);
}

/* ---------- Icons ---------- */
.nav-ico[b-pd3guqs0gh] {
    flex-shrink: 0;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--sg-muted);
}

.nav-text[b-pd3guqs0gh] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Bootstrap accordion, themed ---------- */
.nav-acc[b-pd3guqs0gh] {
    --bs-accordion-bg: transparent;
    --bs-accordion-border-color: transparent;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-color: var(--sg-text);
    --bs-accordion-active-color: var(--sg-text);
    --bs-accordion-btn-focus-box-shadow: var(--sg-ring);
}

.nav-acc .accordion-item[b-pd3guqs0gh] {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--sg-line);
    border-radius: 0;
}

.nav-acc .accordion-button[b-pd3guqs0gh] {
    gap: 12px;
    padding: 15px 10px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--sg-text);
    background: transparent;
    box-shadow: none;
    border-radius: var(--sg-radius-sm);
}

.nav-acc .accordion-button:not(.collapsed)[b-pd3guqs0gh] {
    color: var(--sg-text);
    background: transparent;
    box-shadow: none;
}

.nav-acc .accordion-button:focus-visible[b-pd3guqs0gh] { box-shadow: var(--sg-ring); }

.nav-acc .accordion-button:not(.collapsed) .nav-ico[b-pd3guqs0gh],
.nav-acc .accordion-button.has-active .nav-ico[b-pd3guqs0gh] { color: var(--sg-brand-light); }

/* Chevron drawn with borders (no image needed) */
.nav-acc .accordion-button[b-pd3guqs0gh]::after {
    flex-shrink: 0;
    width: .55rem;
    height: .55rem;
    margin-left: auto;
    background-image: none;
    border-right: 2px solid var(--sg-muted);
    border-bottom: 2px solid var(--sg-muted);
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.nav-acc .accordion-button:not(.collapsed)[b-pd3guqs0gh]::after { transform: rotate(-135deg); }

/* ---------- Smooth open/close without Bootstrap JS ---------- */
.nav-acc-panel[b-pd3guqs0gh] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .25s ease;
}

.nav-acc-panel.show[b-pd3guqs0gh] { grid-template-rows: 1fr; }

.nav-acc-list[b-pd3guqs0gh] {
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}

.nav-acc-panel.show .nav-acc-list[b-pd3guqs0gh] { padding-bottom: 12px; }

.nav-acc-list[b-pd3guqs0gh]  a {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0;
    padding: 10px 14px;
    font-size: .95rem;
    color: var(--sg-muted);
    text-decoration: none;
    border-radius: var(--sg-radius-sm);
    transition: background .15s ease, color .15s ease;
}

.nav-acc-list[b-pd3guqs0gh]  a .nav-ico { font-size: 1.05rem; }

.nav-acc-list[b-pd3guqs0gh]  a:hover {
    color: var(--sg-text);
    background: var(--sg-surface-2);
}

.nav-acc-list[b-pd3guqs0gh]  a.active {
    color: #fff;
    background: rgba(var(--sg-brand-rgb), .16);
    box-shadow: inset 3px 0 0 var(--sg-brand);
}

.nav-acc-list[b-pd3guqs0gh]  a.active .nav-ico { color: var(--sg-brand-light); }

/* ---------- Desktop: collapsed icon rail ---------- */
@media (min-width: 993px) {
    .sidenav.collapsed .sidenav-head[b-pd3guqs0gh] {
        flex-direction: column;
        gap: 12px;
        padding: 14px 0;
    }

    .sidenav.collapsed .sidenav-logo[b-pd3guqs0gh] { height: 40px; }
    .sidenav.collapsed .sidenav-user-name[b-pd3guqs0gh],
    .sidenav.collapsed .nav-text[b-pd3guqs0gh],
    .sidenav.collapsed .nav-acc-panel[b-pd3guqs0gh] { display: none; }

    .sidenav.collapsed .sidenav-body[b-pd3guqs0gh] { padding: 8px 10px 16px; }

    .sidenav.collapsed .nav-acc .accordion-item[b-pd3guqs0gh] { border-bottom: 0; }

    .sidenav.collapsed .nav-acc .accordion-button[b-pd3guqs0gh] {
        justify-content: center;
        margin: 4px 0;
        padding: 14px 0;
    }

    .sidenav.collapsed .nav-acc .accordion-button[b-pd3guqs0gh]::after { display: none; }

    .sidenav.collapsed .nav-ico[b-pd3guqs0gh] { font-size: 1.3rem; }

    .sidenav.collapsed .nav-acc .accordion-button.has-active[b-pd3guqs0gh] {
        background: rgba(var(--sg-brand-rgb), .16);
        box-shadow: inset 3px 0 0 var(--sg-brand);
    }

    .sidenav.collapsed .sidenav-foot[b-pd3guqs0gh] { padding: 12px 10px; }
    .sidenav.collapsed .sidenav-logout[b-pd3guqs0gh] { padding: 11px 0; }
}

/* ---------- Phones & tablets: slide-in panel ---------- */
@media (max-width: 992px) {
    .sidenav[b-pd3guqs0gh] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1040;
        width: min(300px, 85vw);
        height: auto;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }

    .sidenav.open[b-pd3guqs0gh] {
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0, 0, 0, .6);
    }

    .sidenav-toggle[b-pd3guqs0gh] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .sidenav[b-pd3guqs0gh], .nav-acc-panel[b-pd3guqs0gh], .nav-acc .accordion-button[b-pd3guqs0gh]::after { transition: none; }
}
/* /Shared/Shared Components/SC Input DDL.razor.rz.scp.css */
 
.dropdown-list[b-ivgzapk08y] {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y:auto;
    margin: 0;
    padding: 0;
    /* list-style: none; */
    z-index: 1000;
}

.dropdown-item[b-ivgzapk08y] {
    padding: 8px;
    cursor: pointer;
    /* background: pink; */
}

.dropdown-item.highlighted[b-ivgzapk08y] {
    background-color: #0078d4;
    color: white;
}
